import { useParams } from "react-router-dom";


const Task2 = () => {
    const { id } = useParams();
    console.log(id);
    return (
        <div>Task2</div>
    )
}

export default Task2